<%@ page contentType="text/html;charset=UTF-8" %>
<%@include file="../../../common/operation_forbid.jsp" %>
<!-- 岗位-->
<div id="auPosDiv" class="hide">
		<form id="auPosForm" method="POST" onsubmit="return false;" >
			<table cellspacing="0" cellpadding="0" border="0" class="customTable">
				<tbody>
					<tr style="display:none">
						<td colspan="2" class="ui-state-error"><input type="hidden" name="id" ></td>
					</tr>
					<tr class="FormData">
						<td class="CaptionTD"><font color="red">*</font>名称：</td>
						<td class="DataTD">&nbsp;
						<input type="text" jyValidate="required"  maxlength="16" name="departmentName" class="FormElement ui-widget-content ui-corner-all"></td>
					</tr>
					<tr id="preOrgTR" class="FormData">
						<td  class="CaptionTD">上级部门：</td>
						<td class="DataTD">&nbsp;
							<input id="preOrg" type="text" readonly value="" class="FormElement ui-widget-content ui-corner-all" onclick="showPreOrg(); return false;"/>
							<input type="hidden" name="orgId" value="-1" >
							<a href="#" title="清空" onclick="emptyPreOrg(); return false;" class="lrspace3 aBtnNoTD" data-toggle="modal"><i class='icon-remove bigger-120 red'></i></a>
							<div id='preOrgContent' class="menuContent ztreeMC" style="display: none; position: absolute;">
								<ul id="preOrgTree" class="ztree preOrgTree"></ul>
							</div>
						</td>
					</tr>	
					<tr class="FormData form-inline">
						<td class="CaptionTD"><font color="red">*</font>部门编号：</td>
						<td class="DataTD ">&nbsp;
							<input type="text" jyValidate="required"  maxlength="16" name="departmentCode" class="FormElement ui-widget-content ui-corner-all"></td>
						</td>
					</tr>	
				
					<tr class="FormData">
						<td class="CaptionTD">备注：</td>
						<td class="DataTD">&nbsp;
						<textarea rows="2" cols="10" maxlength="100" name="remark" multiline="true" class="FormElement ui-widget-content ui-corner-all isSelect147"></textarea>
						</td>
					</tr>
				</tbody>
			</table>
		</form>
		<br/><br/><br/><br/>
</div>
<div id="userFormDiv" class="hide">
    		<form id="userForm" method="POST" onsubmit="return false;" >
			<table cellspacing="0" cellpadding="0" border="0" class="customTable">
				<tbody>
					<input type="hidden" name="id" >
					<tr class="FormData">
						<td class="CaptionTD"><font color="red">*</font>姓名：</td>
						<td class="DataTD">&nbsp;
						<input type="text" jyValidate="required"  name="userName"  class="FormElement ui-widget-content ui-corner-all"></td>
					</tr>
					
					
					<tr class="FormData">
						<td class="CaptionTD"><font color="red">*</font>手机号码(帐号)：</td>
						<td class="DataTD">&nbsp;
						<input type="text" jyValidate="required" name="userPhone" maxlength="16" class="FormElement ui-widget-content ui-corner-all"></td>
					</tr>
					
					<tr class="FormData" id="userPasswordDiv">
						<td class="CaptionTD"><font color="red">*</font>密码：</td>
						<td class="DataTD">&nbsp;
						<input type="password"  name="userPassword" minlength="6" maxlength="20" class="FormElement ui-widget-content ui-corner-all"></td>
					</tr>
					
					<tr class="FormData" id="userPasswordComfirmDiv">
						<td class="CaptionTD"><font color="red">*</font>确认密码：</td>
						<td class="DataTD">&nbsp;
						<input type="password" name="userPasswordComfirm" minlength="6" maxlength="20" class="FormElement ui-widget-content ui-corner-all"></td>
					</tr>
					
					
					
					<tr class="FormData">
						<td class="CaptionTD"><font color="red">*</font>生日：</td>
						<td class="DataTD">&nbsp;
						<input type="text" jyValidate="required" name="birthdayStr" onClick="WdatePicker()"></td>
					</tr>
					
					<tr class="FormData">
						<td class="CaptionTD"><font color="red">*</font>入职日期：</td>
						<td class="DataTD">&nbsp;
						<input type="text" jyValidate="required" name="entryTimeStr" onClick="WdatePicker()" class="Wdate"></td>
					</tr>
					
					<input type="hidden" name="userDepartmentId" value="-1" >
					
					
					<tr class="FormData">
						<td class="CaptionTD"><font color="red">*</font>角色：</td>
						<td class="DataTD">&nbsp;
						   <select name="roleId" id="roleId">
							</select>
						</td>
					</tr>
					
					<tr class="FormData" >
						<td class="CaptionTD">状态：</td>
						<td class="DataTD">&nbsp;
							<select name="userStatus">
							   <option value="0">在用</option>
							   <option value="1">禁用</option>
							</select>
						</td>
					</tr>
	
				</tbody>
			</table>
		</form>
		<br/>
</div>

